package com.ssy.lingxi.member.merchant.model.vo.maintenance.request;

import com.ssy.lingxi.member.merchant.api.handler.annotation.PhoneAnno;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 系统能力 - 使用支付密码修改手机号接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-07-06
 */
public class UserUpdatePhoneByPayPswVO implements Serializable {
    private static final long serialVersionUID = 3184201091467855753L;

    /**
     * 支付密码
     */
    @NotBlank(message = "支付密码不能为空")
    private String payPassword;

    /**
     * 手机号码
     */
    @NotBlank(message = "手机号码不能为空")
    @PhoneAnno(message = "手机号码格式错误")
    private String phone;

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
